package com.etpjava.service;

import java.util.List;
import java.util.Map;

import com.etpjava.model.Employee;
import com.etpjava.util.Page;
/**
 * @author liuk
 * @version 0.0.1
 *  EmployeeService interface
 *
 */
public interface EmployeeService {
	public List<Employee> findAll();
	public void  findAll(Page p);
	public void delete(int id);
	public void deleteMore(int[] ids);
	public boolean add(Employee em);
	public void modify(Employee em);
	public Employee findById(int id);
	public void findByName(Page p,String s);
	public List<Employee> findByPhone(String phone);
	public void search(Page p,Map<String, String> sw);
}
